home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Moscow ML 1.42 / MSLpatches / Readme.MSL < prev   
Encoding:
Text File  |  1997-07-28  |  2.0 KB  |  38 lines  |  [TEXT/Moml]

  1. MSL patch notes   1997Jul28   e   [Doug Currie <e@flavors.com>]
  2.  
  3. There are a few bugs in the Metrowerks Standard Library (MSL) 2.1.2 supplied 
  4. with Code Warrior Pro 1, and earlier versions as well I suspect. Some of these 
  5. affect mosml-mac. MetroWerks tells me that at some point patches for these 
  6. bugs will be published on their web site. In the meantime they have given me 
  7. permission to include a few patch files with mosml-mac.
  8.  
  9. With the patches, the only know bugs remaining are in the area of floating 
  10. point reading and writing. Metrowerks is working on this. Denormalized floats 
  11. cannot be read at all. Printing of floats is slightly inaccurate (i.e., in the 
  12. one or two LSBs of a double), and printf() rounds toward +/-infinity instead 
  13. of nearest or even. I have included a patch of my own to improve  rounding in 
  14. printf() for some common cases, but the real solution is a complete rewrite of 
  15. strtod() and printf(). I will wait to see if MSL improves soon before I take 
  16. this on myself.
  17.  
  18. A patch file rename_patch.c is included in the source distribution to make
  19. rename work for directories again. The linker warnings:
  20.   Link Warning : ignored ‘__rename_file’ (code) in MSL C.PPC (NL).Lib
  21.   Previously defined in rename_patch.c
  22.   Link Warning : ignored ‘__rename_file’ (descriptor) in MSL C.PPC (NL).Lib
  23.   Previously defined in rename_patch.c
  24. can be safely ignored. But you should remove this file from the mosml project 
  25. once MetroWerks fixes this problem.
  26.  
  27. MCL 2.1.2 epoch is 1900 not 1904. Unfortunately, MSL does not adjust the time 
  28. returned from MacOS before it uses it in some cases. Patches to fix this are 
  29. supplied by Metrowerks in .
  30.  
  31. The files in the archive in this folder should be placed in the appropriate 
  32. places in the Metrowerks Standard Library folder. Then the Build MSL Libraries 
  33. application supplied with Code Warrior Pro should be used to rebuild your 
  34. libraries. At a minumum, rebuild the Fa(4i 8d)NL ANSI C libraries used by the 
  35. 68k versions of mosml, and the PPC NL ANSI C libraries.
  36.  
  37. e
  38.